package com.akbar.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author akbar
 * @since 2025-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("assignment")
public class Assignment {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String description;

    private LocalDateTime startDate;

    private LocalDateTime endDate;

    private Integer lessonId;

    /**
     * 布置作业的老师用户ID
     */
    private Integer creatorId;


}
